package ipt.capitulo11;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class LeeProceso{
	public static void main(String argumentos[]) 
								throws Exception{
		Runtime r=Runtime.getRuntime();
		Process p=r.exec("java LeeTiempoTranscurrido");
		BufferedReader bR= new BufferedReader(
				new InputStreamReader(p.getInputStream()));
		String texto;
		while((texto = bR.readLine())!=null)
			System.out.println(texto);
	}
}
